package com.draem0507.refactor;


import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;

/**
 * @title what to do .
 * @desc
 * @atuh lwx
 * @createtime on 2015/11/18 15:30
 */
public class Test {


    public static void main(String[] args) {


        Date date =new Date(1447829851043L);
        SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");


        System.out.println(simpleDateFormat.format(date));

        System.out.println(UUID.randomUUID().toString());
    }
}
